package com.feilong.edgeAI.model;

/**
 * Created by【仿脑科技】
 *
 * @Author: potato
 * @CreateDate: 2023/12/1 18:12
 */
public class GlobalEvent {
    private String text;
    private int type;

    public GlobalEvent(String text) {
        this.text = text;
    }

    public GlobalEvent(String text, int type) {
        this.text = text;
        this.type = type;
    }

    @Override
    public String toString() {
        return "GlobalEvent{" +
                "text='" + text + '\'' +
                ", type=" + type +
                '}';
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
